<div class="links">
	<a href="<?php echo $this->url( array( 'controller' => 'task', 'action' => 'create' ) ); ?>">
		<?php echo $this->translate('create'); ?>
	</a>
</div>

<table>
	<tr>
		<th colspan="3">
			<?php echo $this->translate('form.default.task.label.name'); ?>
		</th>
	</tr>
	<?php foreach( $this->registry as $registry ): ?>
		<tr>
			<td>
				<a href="<?php echo $this->url( array( 'controller' => 'task', 'action' => 'retrieve', 'id' => $registry['id'] ) ); ?>">
					<?php echo $registry['name']; ?>
				</a>
			</td>
			
			<td>
				<a href="<?php echo $this->url( array( 'controller' => 'task', 'action' => 'update', 'id' => $registry['id'] ) ); ?>">
					<?php echo $this->translate('update'); ?>
				</a>
			</td>
			
			<td>
				<a href="<?php echo $this->url( array( 'controller' => 'task', 'action' => 'delete', 'id' => $registry['id'] ) ); ?>" onclick=" return confirmDelete(); ">
					<?php echo $this->translate('delete'); ?>
				</a>
			</td>
		</tr>
	<?php endforeach; ?>
</table>